package dk;


// This class contains information from each cleaned method
public class methodInfo {
	
	private String methodName;
	private String MethodContents;
	private boolean isActualMethod;
//	private String cleanMethodContents; 
	private String rawFilePath;
	private String modifiedFilePath;
	private int methodLineLength; //how many lines long the method is
	

	public methodInfo(String methodName, String methodcontents) {
		this.methodName = methodName;
		this.MethodContents = methodcontents;
	}
	
	
	public methodInfo(String methodName, String methodcontents, String rawFilePath, String modifiedFilePath) {
		this.methodName = methodName;
		this.MethodContents = methodcontents;
	}
	
	
	public methodInfo(String methodName, String methodcontents, boolean isactualmethod) {
		this.methodName = methodName;
		this.MethodContents = methodcontents;
		this.isActualMethod = isactualmethod;
	}
	
	public methodInfo(String methodContents) {
		this.MethodContents = methodContents;
	}


	public String getMethodContents() { 
		return MethodContents;
	}
	
	public boolean getIsActualMethod(){
		return this.isActualMethod;
	}
	
	public void setIsActualMethod(boolean isactualmethod){
		this.isActualMethod = isactualmethod;
	}

	
	public String getMethodName() {
		return methodName;
	}
	
	
	public int getMethodLineLength() {
		return methodLineLength;
	}

	public void setMethodLineLength(int methodLineLength) {
		this.methodLineLength = methodLineLength;
	}

	
}
